diff options
| author | real-zephex <[email protected]> | 2024-04-12 11:39:57 +0530 |
|---|---|---|
| committer | real-zephex <[email protected]> | 2024-04-12 11:39:57 +0530 |
| commit | f6ecf3a393ba50bb74ce83ad2bc723e2670f7215 (patch) | |
| tree | 676f00108119d29253ffe0b658c62575788199e4 /src/app/kdrama/[id]/page.jsx | |
| parent | fix: fixed kdrama page and made it available (diff) | |
| download | dramalama-f6ecf3a393ba50bb74ce83ad2bc723e2670f7215.tar.xz dramalama-f6ecf3a393ba50bb74ce83ad2bc723e2670f7215.zip | |
minor fixes
Diffstat (limited to 'src/app/kdrama/[id]/page.jsx')
| -rw-r--r-- | src/app/kdrama/[id]/page.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/kdrama/[id]/page.jsx b/src/app/kdrama/[id]/page.jsx index dce39ac..5625bd4 100644 --- a/src/app/kdrama/[id]/page.jsx +++ b/src/app/kdrama/[id]/page.jsx @@ -1,7 +1,7 @@ import styles from "../styles/info.module.css"; import Image from "next/image"; import EpisodesButtons from "./buttons"; -import PreFetchVideoLinks from "../components/cacher"; +import { PreFetchVideoLinks } from "../components/cacher"; export default async function DramaInfo({ params }) { const id = decodeURIComponent(params.id); @@ -62,7 +62,7 @@ export default async function DramaInfo({ params }) { async function getDramaInfo(id) { const res = await fetch( - `https://consumet-api-di2e.onrender.com/movies/dramacool/info?id=${id}`, + `https://consumet-jade.vercel.app/movies/dramacool/info?id=${id}`, { next: { revalidate: 86400 } } ); const data = await res.json(); |